<template>
    <div class="content-nav">
        <ul>
            <li><a href="">大宽网</a></li>
            <li><a href="">北京</a></li>
            <li><a href="">话剧歌剧</a></li>
            <li><a href="" id="content-nav-a"></a></li>
        </ul>
    </div>
    <div class="content">
        <img class="movies-img" alt="" :src="goodsData.img_src">
        <div class="content-left">
            <h1>{{goodsData.good_name}}</h1>
            <p></p>
            <div class="top-title">
                <ul>
                    <li>项目待定</li>
                    <li>预售/预定</li>
                    <li>售票中</li>
                    <li>演出开始</li>
                </ul>
                <div class="line-bottom">
                    <div class="w-circle"></div>
                    <div class="line"></div>
                    <div class="w-circle"></div>
                    <div class="line line2"></div>
                    <div class="r-circle"></div>
                    <div class="line line3"></div>
                    <div class="w-circle white-c"></div>
                    <div class="line line4"></div>
                </div>

            </div>
            <div class="select-time" id="select-time">
                <div class="text">演出时间：</div>

                <div class="time" v-for="(item, index) in goodsData.times"
                    :key="index">{{item}}</div>
            </div>
            <div class="select-time">
                <div class="text">选择票价：</div>
                <div class="pay">

                    <template v-if="Array.isArray(goodsData.price) ">
                        <div v-for="(item, index) in goodsData.price"
                            :key="index">
                            {{item}}</div>
                    </template>
                    <div v-else>{{goodsData.price}}</div>

                </div>
            </div>
            <button id='chooseBtn'>选座购买</button>
        </div>
        <div class="line-left"></div>
        <div class="content-right">
            <ul>
                <li>
                    <p>大麦网评分：</p>
                    <span class="bignum orange">2.</span><span
                        class="orange">0</span>
                    <span class="stars">
                        <ul>
                            <li class="star1"></li>
                            <li class="star2"></li>
                            <li class="star3"></li>
                            <li class="star4"></li>
                            <li class="star5"></li>
                        </ul>
                    </span>
                    <div class="msg"> <span class="orange">0</span>人参与</div>
                </li>
                <li>
                    <p>演出时间：</p>
                    <span class="showTime">{{goodsData.times}}</span>
                </li>
                <li>
                    <p>演出场馆：</p>
                    <span class="showPlace">{{goodsData.place}}</span><br>
                    <div class="loca">
                        <img src="@/assets/img/img-details/location.png" alt="">
                        <p class="clickMap">交通路线</p>
                        <!-- 地图 -->
                        <div class="baidu" style="display: none;">
                            <div id="closeMap"></div>
                            <div id="map">
                            </div>
                            <div id='result'></div>
                        </div>
                    </div>

                </li>
                <li>
                    <p>票品支持</p>
                    <img src="@/assets/img/img-details/money.png" alt="">
                    <span>返积分</span>

                </li>
                <li>
                    <p>实票配送</p>
                    <div class="div-last">北京<img
                            src="@/assets/img/img-templet/logo-bottom.png"
                            alt="">
                    </div>
                    <span>同城满100.00元免运费,不满收10.00元，
                        发货后1-3天到达</span>
                </li>
            </ul>
        </div>

    </div>
    <main>
        <article>
            <!-- tab切换 -->
            <div class="tab-nav">
                <p id="tab-1" @click="tab(1)" :class="{active:tabIndex===1}">
                    演出信息</p>
                <p id="tab-2" @click="tab(2)" :class="{active:tabIndex===2}">
                    精彩好评</p>
                <p id="tab-3" @click="tab(3)" :class="{active:tabIndex===3}">
                    购买说明</p>
                <p id="tab-4" @click="tab(4)" :class="{active:tabIndex===4}">
                    付款信息</p>
            </div>
            <div class="tab-content1">
                <div class="content-1" v-if="tabIndex===1">
                    <div class="msg">
                        <div class="title">
                            <p>基本信息</p>
                        </div>
                        <div class="container">
                            <hr>
                            <table>
                                <tr>
                                    <th class="start-time ">演出时间</th>
                                    <td class="text showTime"></td>
                                    <th class="locate">演出场馆</th>
                                    <td class="text showPlace"></td>
                                </tr>
                                <tr>
                                    <th class="time">演出时长</th>
                                    <td>120分钟</td>
                                    <th class="join-time">入场时间</th>
                                    <td>约演出前30分钟</td>
                                </tr>
                                <tr>
                                    <th>限购</th>
                                    <td>选座购买每单限6张，立即购买每单限20张</td>
                                    <th>儿童入场提示</th>
                                    <td>儿童一律凭票入场</td>
                                </tr>
                                <tr>
                                    <th>付款时效提醒</th>
                                    <td>购买下单成功后，需在15分钟内完成支付，未支付成功的
                                        订单，将在下单15分钟后系统自动取消，所选价位将自动释放后
                                        重新点亮，大家可及时刷新页面进行购买。
                                    </td>
                                    <th>缺货登记提醒</th>
                                    <td>所选票价若为灰色，说明已经售完。你可以在当前页面进行
                                        缺货登记，后期如果有票会以短信形式通知。
                                    </td>
                                </tr>
                                <tr>
                                    <th class="last">发票说明</th>
                                    <td>演出结束后由主办方开具</td>
                                    <th></th>
                                    <td></td>
                                </tr>
                            </table>
                        </div>
                    </div>
                    <div class="present">
                        <div class="title">
                            <p>项目介绍</p>
                        </div>
                        <div class="container" id="total-detail">
                            <hr>
                            <p class="title">项目概况</p>
                            <div v-html="goodsData.details">
                            </div>
                        </div>
                    </div>

                </div>
                <div class="content-2" v-if="tabIndex===2">
                    <div class="write">
                        <div class="title">
                            <p>写剧评&nbsp;</p>
                        </div>
                        <div class="container">
                            <hr>
                            <div id="comment">
                                <span class="title">打个分吧：</span>
                                <span class="stars"
                                    style="background-position: 0 0;">
                                    <ul :class="`star${starNum}`">
                                        <li class="star1" @click="starPick(1)">
                                        </li>
                                        <li class="star2" @click="starPick(2)">
                                        </li>
                                        <li class="star3" @click="starPick(3)">
                                        </li>
                                        <li class="star4" @click="starPick(4)">
                                        </li>
                                        <li class="star5" @click="starPick(5)">
                                        </li>
                                    </ul>
                                </span>
                                <br>
                                <textarea name="" id="texta" cols="30" rows="5"
                                    v-model="inputValue"></textarea>
                            </div>
                            <div class="button" id="commentBtn"
                                @click="commitComment">评价</div>
                        </div>
                    </div>
                    <div id="list">
                        <!-- 评论 -->
                        <div class="item" v-for="(item, index) in comment"
                            :key="index">
                            <div class="user">
                                <img src="@/assets/img/img-details/user.png"
                                    alt="">
                                <p>用户名</p>
                            </div>
                            <div class="comment">
                                <p>{{item.inputValue}}</p>
                                <div class="count star2"></div>
                                <span class="date"></span>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="content-3" v-if="tabIndex===3">
                    <div class="msg">
                        <div class="title">
                            <p>特别提示</p>
                        </div>
                        <div class="container">
                            <hr>
                        </div>
                    </div>
                    <div class="product-1">
                        <span class="span-head">售前说明提示</span>
                        <p>1.为避免快递配送不能及时送达，演出距开场时间少于3天时不提供【快递配送】服务，请您谅解！您可以选择电子票或在线支
                            付后上门自取纸质票。 点击查看上门<span>取票地址>></span></p>
                        <p>2.凡演出票类商品，开票时间一般为演出前二到四周，正式开票后会第一时间短信通知您，请注意接收
                        </p>
                        <p>3.如您不是通过“选座购买”通道进行的票品购买，最终票品数量视项目主办方及场馆情况而定，正式开票后大麦网将根据用户付款先后顺序依次配票，可能存在票品不足不能为您配票的风险，如最终未能配票，大麦网承诺全额退款，但不承担其他损失。
                        </p>
                        <span class="span-head">支付方式</span>
                        <p>网上银行（招商银行等） 支付平台（支付宝等）
                            转账汇款(招商银行等)　<span>查看详情>></span></p>
                        <span class="span-head">退/换货说明</span>
                        <p>针对不可抗力和非不可抗力的退/换票情况和处理，请点击查阅<span>大麦网退换货说明>></span>
                        </p>
                    </div>

                    <div class="present">
                        <div class="title">
                            <p>无线端购票</p>
                        </div>
                        <div class="container">
                            <hr>
                        </div>
                    </div>
                    <div class="product-2">
                        <p>1. 使用智能设备用户在各应用商店中搜索"大麦"下载安装客户端，购票体验更流畅 <br>
                            2. 非智能设备用户可浏览器访问m.damai.cn进行演出查询，随时购票</p>
                    </div>
                    <div class="download-type">
                        <img src="@/assets/img/img-details/iphone.png" alt="">
                        <img src="@/assets/img/img-details/android.png" alt="">
                        <img src="@/assets/img/img-details/ipad.png" alt="">
                    </div>
                    <div class="present">
                        <div class="title">
                            <p>网上订购</p>
                        </div>
                        <div class="container">
                            <hr>
                        </div>
                    </div>
                    <div class="product-2">
                        <p>1. 使用智能设备用户在各应用商店中搜索"大麦"下载安装客户端，购票体验更流畅 <br>
                            2. 非智能设备用户可浏览器访问m.damai.cn进行演出查询，随时购票</p>
                    </div>
                    <!-- <img class="flow-path"
                        src="@/assets/img/img-details/flowpath.png" alt=""> -->
                    <div class="present">
                        <div class="title">
                            <p>在线支付</p>
                        </div>
                        <div class="container">
                            <hr>
                        </div>
                    </div>
                    <div class="product-2">
                        <p class="strong-p">
                            支持多家网上银行、支付平台（支付宝、快钱、银联、微信支付等）在线支付，<span>查看详情>></span>
                        </p>
                        <p class="strong-p">支付平台：</p>
                        <img class="pay-img"
                            src="@/assets/img/img-details/pay.png" alt="">
                    </div>
                    <div class="present">
                        <div class="title">
                            <p>电话订购</p>
                        </div>
                        <div class="container">
                            <hr>
                        </div>
                    </div>
                    <div class="product-2">
                        <p class="phone-num">全国统一服务热线：1001001010
                        </p>
                    </div>
                    <div class="present">
                        <div class="title">
                            <p>上门订购</p>
                        </div>
                        <div class="container">
                            <hr>
                        </div>
                    </div>
                    <div class="product-3">
                        <p>大麦网北京总部</p>
                        <p>办公地址：北京市东城区东中街32号楼7层（东环广场街心花园对面） 点击查看如何到达</p>
                        <p>营业时间：星期一至星期日9:00-18:00</p>
                        <p>支付说明：可用POS机刷卡、现金、预存；支票支付（需要支付等同现金，支票入账后返还）；上门购票也可使用：福利卡（福
                            <br> 卡）收取3%手续费。特殊项目除外，具体以上门购票为准！
                            点击查看周边提款
                        </p>
                    </div>
                    <div class="present">
                        <div class="title">
                            <p>柜台付款</p>
                        </div>
                        <div class="container">
                            <hr>
                        </div>
                    </div>
                    <div class="product-3">
                        <p>您也可以选择就近的公司网点，到柜台直接付款购买，<span>查看分公司上门地址>></span>
                        </p>

                    </div>
                    <div class="present">
                        <div class="title">
                            <p>电子钱包</p>
                        </div>
                        <div class="container">
                            <hr>
                        </div>
                    </div>
                    <div class="product-3">
                        <p>电子钱包是由大麦网自主研发的第三方支付平台，为每一个用户在购票过程中提供"简单、安全、快速"的在线支付解决方案；<br>
                            <span>查看详情>></span>
                        </p>

                    </div>

                </div>
                <div class="content-4" v-if="tabIndex===4">
                </div>
            </div>

        </article>
        <aside>
            <div class="hot-rec">
                <strong>热门推荐</strong>
                <div class="line"></div>
                <img src="@/assets/img/img-details/aside-1.jpg" alt="">
                <p>流光之城 光谷十年 ·九执光影展</p>
                <hr class="dashed">
                <div class="cont">
                    <span>孟京辉戏剧作品《两只狗的生活意见》武汉站</span>
                    <p>2017.11.23 20:00</p>
                    <span>伊藤润二经典美学AR体验展</span>
                    <p>2017.11.23 20:00</p>
                </div>
            </div>
            <div class="history">
                <div class="title">
                    <strong>浏览历史</strong>
                    <a href="">更多...</a>
                </div>

                <div class="line"></div>
                <p>
                    <a href="">
                        托马斯&朋友—嘉年华！来了！》
                        中文版舞台剧 天桥艺术中心返场演出
                    </a>
                </p>
                <p>
                    <a href="">
                        巧虎新年特别互动秀--北京站
                    </a>
                </p>
                <p>
                    <a href="">
                        日本飞行船剧团原版舞台剧《樱桃小丸子》
                        —北京站首演
                    </a>
                </p>
                <p>
                    <a href="">
                        儿童舞台剧《灰姑娘与仓鼠家族的秘密》
                    </a>
                </p>
                <p>
                    <a href="">
                        爱儿美儿童摄影冰上迪士尼•魔幻时空 2017巡演北京站
                    </a>
                </p>
            </div>
        </aside>
    </main>
</template>

<script setup>
import { useRoute } from 'vue-router'
import { ref, onMounted } from 'vue'
import axios from 'axios'

const route = useRoute()

const goodsData = ref({})
const tabIndex = ref(2)
const comment = ref([])
const starNum = ref(0)
const inputValue = ref('')


const id = route.query.id




const tab = (index) => {
    tabIndex.value = index
}
const starPick = (index) => {
    if (index === starNum.value) return starNum.value = 0
    starNum.value = index
}
const commitComment = (index) => {
    comment.value.push({ inputValue: inputValue.value })
    starNum.value = 0
}

onMounted(() => {
    axios.get('/goodDetail').then((res) => {
        console.log(res.data.goods);
        let arr = res.data.goods
        goodsData.value = arr.filter((v) => v.id == id)[0]
    })
})

</script>

<style lang="scss" scoped>
.content-nav {
    display: flex;
    font-size: 12px;
    align-items: center;
    height: 50px;
    width: 1200px;
    margin: 0 auto;
    ul {
        display: flex;
        list-style: none;
        margin-left: 20px;
        li {
            margin-right: 10px;
            &::after {
                content: ">";
                display: inline-block;
                margin-left: 10px;
            }
            &:last-child::after {
                content: "";
            }
            a {
                text-decoration: none;
                color: black;
                &:hover {
                    color: #ff3c1b;
                }
            }
        }
    }
}
.content {
    display: flex;
    width: 1200px;
    height: 450px;
    background-color: #fff;
    margin: 0 auto;
    padding-left: 25px;
    box-sizing: border-box;
    .movies-img {
        height: 370px;
        margin-top: 25px;
    }
    .content-left {
        margin-top: 25px;

        width: 660px;
        // background-color: pink;
        height: 370px;
        padding: 0px 15px;
        box-sizing: border-box;
        h1 {
            font-size: 18px;
        }
        p {
            font-size: 14px;
            margin-top: 15px;
            margin-bottom: 20px;
            color: #999999;
        }
        .top-title {
            width: 610px;
            height: 70px;
            background-color: #efefef;
            border-radius: 5px;
            box-sizing: border-box;
            padding: 12px 0px 0px 5px;
            ul {
                list-style: none;
                display: flex;
                color: #999999;
                align-items: center;
                li {
                    font-size: 12px;
                    padding-right: 100px;
                    &:nth-child(3) {
                        color: #ff3c1b;
                        font-size: 16px;
                    }
                }
            }
            .line-bottom {
                display: flex;
                align-items: center;
                margin-top: 6px;
                .w-circle {
                    width: 14px;
                    height: 14px;
                    border-radius: 50px;
                    box-sizing: border-box;
                    border: 2px solid #ff3c1b;
                }
                .line {
                    background-color: #ff3c1b;
                    height: 2px;
                    width: 133px;
                }
                .line2 {
                    width: 155px;
                }
                .r-circle {
                    height: 17px;
                    width: 17px;
                    background-color: #ff3c1b;
                    border-radius: 50%;
                }
                .line.line3 {
                    background-color: #fff;
                }
                .w-circle.white-c {
                    border: 2px solid #fff;
                    background-color: #efefef;
                }
                .line.line4 {
                    background-color: #fff;
                    width: 100px;
                }
            }
        }
        .select-time {
            width: 620px;
            display: flex;
            margin: 30px 0px;
            color: black;
            font-size: 12px;
            .text {
                color: #999999;
                height: 35px;
                line-height: 35px;
            }
            .time {
                width: 150px;
                border: 1px solid #cccccc;
                height: 35px;
                display: flex;
                justify-content: center;
                align-items: center;
                margin-right: 10px;
                &:hover {
                    color: #ff3c1b;
                    border: 1px solid #ff3c1b;
                }
            }
        }
        .pay {
            display: flex;
            flex-wrap: wrap;
            width: 560px;
            div {
                min-width: 130px;
                height: 35px;
                text-align: center;
                line-height: 35px;
                border: 1px solid #cccccc;
                margin-right: 5px;
                margin-bottom: 5px;
                &:hover {
                    color: #ff3c1b;
                    border: 1px solid #ff3c1b;
                }
            }
        }
        button {
            width: 150px;
            height: 40px;
            background-color: #ff3c1b;
            margin-left: 60px;
            border-radius: 5px;
            border: none;
            color: #fff;
            font-size: 16px;
        }
    }
    .line-left {
        height: 400px;
        background-color: #ccc;
        width: 1px;
        margin-top: 25px;
        margin-right: 10px;
    }
    .content-right {
        width: 252px;

        ul {
            list-style: none;
            height: 400px;
            li {
                padding-top: 10px;
                padding-bottom: 10px;
                position: relative;
                border-bottom: 1px dashed #cccccc;
                &:first-child {
                    padding-top: 20px;
                }
                &:last-child {
                    border-bottom: none;
                }
                p {
                    margin-bottom: 10px;
                    font-size: 14px;
                }
                span {
                    font-size: 12px;
                    color: #808080;
                }
                .orange {
                    color: #ff3c1b;
                    font-weight: 600;
                }
                .bignum {
                    font-size: 18px;
                }
                .stars {
                    cursor: pointer;
                    width: 100px;
                    height: 20px;
                    background-image: url(~@/assets/img/img-details/stars.png);
                    background-position: 0px -57px;
                    background-repeat: no-repeat;
                    display: inline-block;
                    ul {
                        margin: 0;
                        padding: 0;
                        list-style: none;
                        width: 100%;
                        height: 100%;
                        display: flex;
                        li {
                            padding: 0;
                            margin: 0;
                            width: 18px;
                            height: 15px;
                            border: none;
                        }
                    }
                }
                .msg {
                    color: #000;
                    font-size: 12px;
                    position: absolute;
                    right: 32px;
                    bottom: 17px;
                }
                .loca {
                    display: flex;
                    margin-top: 20px;
                    align-items: center;
                    p {
                        margin: 0;
                        margin-left: 10px;
                    }
                    img {
                        width: 10px;
                        height: 14px;
                    }
                }
                .div-last {
                    width: 60px;
                    height: 15px;
                    background-color: #ff3c1b;
                    font-size: 12px;
                    color: #fff;
                    text-align: center;
                    line-height: 15px;
                }
            }
        }
    }
}
main {
    margin: 25px auto 0;
    width: 1200px;
    display: flex;
    justify-content: space-between;
    article {
        margin-right: 24px;
        // border:1px solid red;
        flex-grow: 1;
        background-color: white;
        .title {
            p {
                height: 18px;
                line-height: 18px;
                padding: 0 20px 0 12px;
                border-left: 2px solid #ff3c1b;
                color: #8c8c8c;
            }
        }
        hr {
            margin-top: 8px;
            border: 1px dashed #8c8c8c;
        }
        .write {
            margin-top: 60px;
            display: flex;
            .container {
                flex-grow: 1;

                #comment {
                    margin-top: 30px;
                    .title {
                        font-size: 12px;
                        color: #666;
                    }
                    .stars {
                        width: 100px;
                        height: 20px;
                        background-image: url(~@/assets/img/img-details/stars.png);
                        background-position: 0px -57px;
                        background-repeat: no-repeat;
                        display: inline-block;
                        ul {
                            margin: 0;
                            padding: 0;
                            list-style: none;
                            width: 100%;
                            height: 100%;
                            display: flex;
                            li {
                                padding: 0;
                                margin: 0;
                                width: 18px;
                                height: 15px;
                                border: none;
                            }
                        }
                    }
                    textarea {
                        margin: 18px 0 18px;
                        // width: 100%;
                        padding: 0 20px;
                        border: 1px solid #ccc;
                        color: #939393;
                        font-size: 14px;
                    }
                }
                .button {
                    cursor: pointer;
                    margin-bottom: 100px;
                    width: 150px;
                    height: 42px;
                    background-color: #fe583c;
                    color: white;
                    line-height: 42px;
                    text-align: center;
                }
            }
        }
        .tab-nav {
            width: 450px;
            display: flex;
            justify-content: space-evenly;
            // background-color: pink;
            p {
                cursor: pointer;
                height: 50px;
                line-height: 50px;
                text-align: center;
                font-size: 14px;
                color: #262626;
                margin: 0;
            }
            p.active {
                border-top: 2px solid #ff3c1b;
                background-image: url(~@/assets/img/img-details/img-bottom.png);
                background-repeat: no-repeat;
                background-position: center 0;
            }
        }
        .tab-content1 {
            .content-1 {
                margin-top: 25px;
                padding: 0 30px;
                // display: none;
                .msg {
                    display: flex;
                    justify-content: space-between;
                    // .title{
                    //     p{
                    //         height: 18px;
                    //         line-height: 18px;
                    //         padding:0 20px 0 12px;
                    //         border-left: 2px solid #ff3c1b;
                    //         color: #8c8c8c;
                    //     }
                    // }
                    .container {
                        flex-grow: 1;
                        // hr{
                        //     margin-top: 8px;
                        //     border: 1px dashed #8c8c8c;
                        // }
                        table {
                            margin-top: 40px;
                            height: 330px;
                            border-collapse: collapse;
                            color: #666;
                            font-size: 14px;
                            th {
                                background-color: #f6f6f6;
                                font-weight: bold;
                            }
                            td,
                            th {
                                padding: 0 10px;
                                border: 1px solid #e6e6e6;
                            }
                            .text {
                                width: 220px;
                            }
                            .start-time,
                            .time,
                            .last {
                                height: 40px;
                            }
                        }
                    }
                }
                .present {
                    margin-top: 40px;
                    display: flex;
                    justify-content: space-between;
                    // .title{
                    //     p{
                    //         height: 18px;
                    //         line-height: 18px;
                    //         padding:0 20px 0 12px;
                    //         border-left: 2px solid #ff3c1b;
                    //         color: #8c8c8c;
                    //     }
                    // }
                    .container {
                        flex-grow: 1;
                        // hr{
                        //     margin-top: 8px;
                        //     border: 1px dashed #8c8c8c;
                        // }
                        .title {
                            height: 40px;
                            line-height: 40px;
                            background-color: #f6f6f6;
                            margin-top: 25px;
                            padding-left: 10px;
                            margin-bottom: 25px;
                        }
                        .text {
                            min-height: 110px;
                            // border: 1px solid red;
                        }
                    }
                }
            }
            .content-2 {
                margin-top: 24px;
                padding: 0 30px;
                width: 850px;
                .write {
                    margin-top: 25px;
                    .container {
                        ul {
                            width: 100px;
                            height: 15px;
                            background-image: url(~@/assets/img/img-details/stars.png);
                            background-repeat: no-repeat;
                        }
                        ul.star1 {
                            background-position: 0 -29px;
                        }
                        ul.star2 {
                            background-position: 0 -58px;
                        }
                        ul.star3 {
                            background-position: 0 -87px;
                        }
                        ul.star4 {
                            background-position: 0 -116px;
                        }
                        ul.star5 {
                            background-position: 0 -145px;
                        }
                        .button {
                            margin-bottom: 45px;
                        }
                    }
                }
                .item {
                    height: 86px;
                    // border: 1px solid red;
                    display: flex;
                    margin-bottom: 20px;
                    justify-content: space-between;
                    .user {
                        width: 45px;
                        height: 45px;
                        margin-right: 40px;
                        p {
                            color: #666;
                            font-size: 12px;
                            margin: 0 auto;
                            text-align: center;
                        }
                    }
                    .comment {
                        background-color: #f0f0f0;
                        padding: 0 25px;
                        flex-grow: 1;
                        p {
                            font-size: 14px;
                            margin: 18px 0;
                        }
                        .count {
                            width: 100px;
                            height: 15px;
                            background-image: url("~@/assets/img/img-details/stars.png");
                            background-repeat: no-repeat;
                        }
                        .count.star1 {
                            background-position: 0 -29px;
                        }
                        .count.star2 {
                            background-position: 0 -58px;
                        }
                        .count.star3 {
                            background-position: 0 -87px;
                        }
                        .count.star4 {
                            background-position: 0 -116px;
                        }
                        .count.star5 {
                            background-position: 0 -145px;
                        }
                    }
                }
            }
            .content-3 {
                margin-top: 25px;
                padding: 0 30px;
                .product-3 {
                    span {
                        color: #ff3c1b;
                    }
                    font-size: 14px;
                    margin-top: 20px;
                    p {
                        margin: 20px 0px;
                        line-height: 25px;
                    }
                }
                .product-2 {
                    font-size: 14px;
                    margin-top: 20px;
                    span {
                        color: #ff3c1b;
                    }
                    p {
                        line-height: 25px;
                    }
                    .strong-p {
                        font-weight: bold;
                        margin-bottom: 20px;
                    }
                    .pay-img {
                        margin-bottom: 20px;
                    }
                    .phone-num {
                        margin: 40px 0px;
                    }
                }
                .flow-path {
                    margin: 20px 0px;
                }
                .download-type {
                    margin-top: 20px;
                    margin-bottom: 40px;
                    img {
                        margin-right: 10px;
                    }
                }
                .product-1 {
                    width: 780px;
                    margin-top: 20px;
                    font-size: 14px;
                    span {
                        color: #ff3c1b;
                    }
                    .span-head {
                        display: inline-block;
                        margin: 10px 0px;
                    }
                    p {
                        line-height: 25px;
                    }
                }
                .msg {
                    display: flex;
                    justify-content: space-between;
                    .title {
                        p {
                            height: 18px;
                            line-height: 18px;
                            padding: 0 20px 0 12px;
                            border-left: 2px solid #ff3c1b;
                            color: #8c8c8c;
                        }
                    }
                    .container {
                        flex-grow: 1;
                        hr {
                            margin-top: 8px;
                            border: 1px dashed #8c8c8c;
                        }
                        table {
                            margin-top: 40px;
                            height: 330px;
                            border-collapse: collapse;
                            color: #666;
                            font-size: 14px;
                            th {
                                background-color: #f6f6f6;
                                font-weight: bold;
                            }
                            td,
                            th {
                                padding: 0 10px;
                                border: 1px solid #e6e6e6;
                            }
                            .text {
                                width: 220px;
                            }
                            .start-time,
                            .time,
                            .last {
                                height: 40px;
                            }
                        }
                    }
                }
                .present {
                    margin-top: 40px;
                    display: flex;
                    justify-content: space-between;
                    .title {
                        p {
                            height: 18px;
                            line-height: 18px;
                            padding: 0 20px 0 12px;
                            border-left: 2px solid #ff3c1b;
                            color: #8c8c8c;
                        }
                    }
                    .container {
                        flex-grow: 1;
                        hr {
                            margin-top: 8px;
                            border: 1px dashed #8c8c8c;
                        }
                    }
                }
            }
        }
    }
    aside {
        flex-grow: 0;
        flex-shrink: 0;
        width: 250px;
        height: 828px;
        // border: 1px solid red;
        font-size: 12px;
        box-sizing: border-box;
        strong {
            height: 49px;
            line-height: 49px;
            font-size: 16px;
            font-weight: normal;
            display: inline-block;
        }
        img {
            margin-top: 12px;
        }
        .line {
            height: 1px;
            background-color: #e6e6e6;
        }
        .dashed {
            border: 1px dashed #e6e6e6;
        }
        .hot-rec {
            width: 100%;
            padding: 0 8px;
            box-sizing: border-box;
            background-color: white;
            p {
                margin: 6px 0;
                color: #727272;
            }
            span {
                color: #020202;
            }
        }
        .history {
            margin-top: 27px;
            width: 100%;
            padding: 0 8px;
            box-sizing: border-box;
            background-color: white;
            .title {
                display: flex;
                justify-content: space-between;
                align-items: center;
            }
            p {
                font-size: 14px;
                margin-top: 10px;
                line-height: 25px;
            }
            a {
                text-decoration: none;
                color: #020202;
            }
        }
    }
}
</style>